package com.lupan.guice.bindings;

import com.google.inject.Guice;
import com.google.inject.Injector;

/**
 * 说明：
 *
 * @author lupan
 * @version 2016/9/20 14:41
 */
public class Main {
    public static void main(String[] args) {
        Injector injector = Guice.createInjector(new BillingServiceModule());
        BillingService billingService = injector.getInstance(BillingService.class);

        billingService.charge();
    }
}
